package cc.customer.common.domain;

import javax.websocket.Session;
import java.io.Serializable;

public class SocketClient implements Serializable {

    private static final long serialVersionUID = 8957107006902627635L;

    private String userName;
    private Session session;

    private String deptId;

    public SocketClient(String userName, Session session,String deptId) {
        this.userName = userName;
        this.session = session;
        this.deptId = deptId;
    }

    public SocketClient() {

    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return "SocketClient{" +
                "userName='" + userName + '\'' +
                ", session=" + session +
                ", deptId='" + deptId + '\'' +
                '}';
    }
}
